コード例 #1
0
        public CPRoConPluginCallbacks(CPRoConMarshalByRefObject.ExecuteCommandHandler delExecuteCommandCallback,
            CPRoConMarshalByRefObject.GetAccountPrivilegesHandler delGetAccountPrivileges,
            CPRoConMarshalByRefObject.GetVariableHandler delGetVariable,
            CPRoConMarshalByRefObject.GetVariableHandler delGetSvVariable,
            CPRoConMarshalByRefObject.GetMapDefinesHandler delGetMapDefines,
            CPRoConMarshalByRefObject.TryGetLocalizedHandler delTryGetLocalized,
            CPRoConMarshalByRefObject.RegisterCommandHandler delRegisterCommand,
            CPRoConMarshalByRefObject.UnregisterCommandHandler delUnregisterCommand,
            CPRoConMarshalByRefObject.GetRegisteredCommandsHandler delGetRegisteredCommands,
            CPRoConMarshalByRefObject.GetWeaponDefinesHandler delGetWeaponDefines,
            CPRoConMarshalByRefObject.GetSpecializationDefinesHandler delGetSpecializationDefines,
            CPRoConMarshalByRefObject.GetLoggedInAccountUsernamesHandler delGetLoggedInAccountUsernames,
            CPRoConMarshalByRefObject.RegisterEventsHandler delRegisterEvents)
        {
            this.m_delExecuteCommand = delExecuteCommandCallback;
            this.m_delGetAccountPrivileges = delGetAccountPrivileges;
            this.m_delGetVariable = delGetVariable;
            this.m_delGetSvVariable = delGetSvVariable;
            this.m_delGetMapDefines = delGetMapDefines;
            this.m_delTryGetLocalized = delTryGetLocalized;

            this.m_delRegisterCommand = delRegisterCommand;
            this.m_delUnregisterCommand = delUnregisterCommand;
            this.m_delGetRegisteredCommands = delGetRegisteredCommands;

            this.m_delGetWeaponDefines = delGetWeaponDefines;
            this.m_delGetSpecializationDefines = delGetSpecializationDefines;

            this.m_delGetLoggedInAccountUsernames = delGetLoggedInAccountUsernames;
            this.m_delRegisterEvents = delRegisterEvents;
        }
コード例 #2
0
        public CPRoConPluginCallbacks(CPRoConMarshalByRefObject.ExecuteCommandHandler delExecuteCommandCallback,
                                      CPRoConMarshalByRefObject.GetAccountPrivilegesHandler delGetAccountPrivileges,
                                      CPRoConMarshalByRefObject.GetVariableHandler delGetVariable,
                                      CPRoConMarshalByRefObject.GetVariableHandler delGetSvVariable,
                                      CPRoConMarshalByRefObject.GetMapDefinesHandler delGetMapDefines,
                                      CPRoConMarshalByRefObject.TryGetLocalizedHandler delTryGetLocalized,
                                      CPRoConMarshalByRefObject.RegisterCommandHandler delRegisterCommand,
                                      CPRoConMarshalByRefObject.UnregisterCommandHandler delUnregisterCommand,
                                      CPRoConMarshalByRefObject.GetRegisteredCommandsHandler delGetRegisteredCommands,
                                      CPRoConMarshalByRefObject.GetWeaponDefinesHandler delGetWeaponDefines,
                                      CPRoConMarshalByRefObject.GetSpecializationDefinesHandler delGetSpecializationDefines,
                                      CPRoConMarshalByRefObject.GetLoggedInAccountUsernamesHandler delGetLoggedInAccountUsernames,
                                      CPRoConMarshalByRefObject.RegisterEventsHandler delRegisterEvents)
        {
            this.m_delExecuteCommand       = delExecuteCommandCallback;
            this.m_delGetAccountPrivileges = delGetAccountPrivileges;
            this.m_delGetVariable          = delGetVariable;
            this.m_delGetSvVariable        = delGetSvVariable;
            this.m_delGetMapDefines        = delGetMapDefines;
            this.m_delTryGetLocalized      = delTryGetLocalized;

            this.m_delRegisterCommand       = delRegisterCommand;
            this.m_delUnregisterCommand     = delUnregisterCommand;
            this.m_delGetRegisteredCommands = delGetRegisteredCommands;

            this.m_delGetWeaponDefines         = delGetWeaponDefines;
            this.m_delGetSpecializationDefines = delGetSpecializationDefines;

            this.m_delGetLoggedInAccountUsernames = delGetLoggedInAccountUsernames;
            this.m_delRegisterEvents = delRegisterEvents;
        }