| |

VerySource

 Forgot password?
 Register
Search
View: 714|Reply: 4

Chat room lobby problem !!!!!

[Copy link]

1

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-1-19 13:40:01
| Show all posts |Read mode
I write this place in the chat room lobby

Let me write
class chatserver
{
  internal class person
   {
     .........
   }
  internal class chatroom
   {
     Define the background color here, background music, etc., some room attributes
   }
   main
    {
     ....
    }
}

When you come in to chat room 1, you will get chat room 1 background music or something

If I change the background of chat room 1 or something, the background of the person in chat room 1 will change.

Can't figure it out, everyone gives you some ideas


Thank you

It's better to write the code, !!!!!!!!!!!!!! It's ok to write a little, thank you
Reply

Use magic Report

1

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

 Author| Post time: 2020-1-27 11:27:02
| Show all posts
No one has a way ???
Reply

Use magic Report

0

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-1-31 11:36:01
| Show all posts
Can only change the place where the chat room is automatically refreshed. Define the properties you can control in the chat room as static, and then the pages that everyone reads will change after you change.
Reply

Use magic Report

0

Threads

56

Posts

21.00

Credits

Newbie

Rank: 1

Credits
21.00

 China

Post time: 2020-2-6 00:15:01
| Show all posts
Define it as a static member
Reply

Use magic Report

0

Threads

2

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-2-14 19:30:01
| Show all posts
up
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list