示例#1
0
 public static ClientMessage RandomClientMessage()
 {
     return(new ClientMessage(
                new ClientMessageID(Guid.NewGuid(), Guid.NewGuid(), Guid.NewGuid(), random.Next(3), random.Next(100)),
                EntityChangeSetTests.RandomByteArray(true)
                ));
 }
示例#2
0
 public static EntityMessage RandomEntityMessage()
 {
     return(new EntityMessage(random.NextBool() ? new Actor(Guid.NewGuid()) : new Actor(RandomEntityID()), random.NextBool(), random.Next(3), EntityChangeSetTests.RandomByteArray(true)));
 }