Ejemplo n.º 1
0
            public override void ServerInitialize(IServerConfiguration serverConfiguration)
            {
                // doesn't work here as FindGameObjectsOfProto is not available during bootstrap
                //var allParties = Server.World.FindGameObjectsOfProto<ILogicObject, Party>();
                //foreach (var party in allParties)
                //{
                //    ServerRegisterParty(party);
                //}

                TriggerTimeInterval.ServerConfigureAndRegister(TimeSpan.FromSeconds(1),
                                                               ServerInvitations.UpdateInvitationsExpiration,
                                                               "Party invitations expiration updater");
            }