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