||unity-dev|| Unity 3 Wishlist

Discussion list for Unity developers. unity-dev at moock.org
Mon Jun 11 11:03:40 CDT 2007


Discussion list for Unity developers. wrote:
> On 6/10/07, Discussion list for Unity developers. <unity-dev at moock.org>
> wrote:
>>
>> You could do this by creating your Custom Room :)
> 
> 
> 
> True, I should have been a little more detailed.  I'd like the ability for
> the Unity Server to run a custom class without me having to call it each
> time.  So if a user is moving a game piece or something everytime a message
> comes in related to movement it would run a custom class on it's own, etc.
--
as david points out, you can do what you want today with some java code, 
but we're always looking for ways to make things easier. for example, 
right now we're  internally discussing the concept of a general 
server-level object that can register for arbitrary events from any 
other object and send communication that to any client or group of clients.

it would be nice to see how you'd like your example to work in code. if 
you have time, please post some mockup code showing exactly how you'd 
want to implement the above scenario.

> Another example is in a card game where a user disconnects and it comes
> around to to their turn I'd like for the ability to check from the server if
> they are still connected or if not then send a message to the others that
> they disconnected and pull them from the game and make the adjustments to
> the other players UI, etc.  Hopefully I explained that a little better.
--
a disconnection should already give you a URoomListener.onRemoveClient() 
event. do you need something beyond that functionality?

colin



More information about the unity-dev mailing list