当前位置: 首页>>代码示例>>C#>>正文


C# RegionSyncModule类代码示例

本文整理汇总了C#中RegionSyncModule的典型用法代码示例。如果您正苦于以下问题:C# RegionSyncModule类的具体用法?C# RegionSyncModule怎么用?C# RegionSyncModule使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


RegionSyncModule类属于命名空间,在下文中一共展示了RegionSyncModule类的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: RegionSyncListener

        public RegionSyncListener(RegionSyncListenerInfo listenerInfo, RegionSyncModule regionSyncModule)
        {
            m_listenerInfo = listenerInfo;
            m_regionSyncModule = regionSyncModule;

            m_log = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
        }
开发者ID:QuillLittlefeather,项目名称:DSG,代码行数:7,代码来源:RegionSyncListener.cs

示例2: ConvertOut

 public override bool ConvertOut(RegionSyncModule pRegionContext)
 {
     lock (m_dataLock)
     {
     if (Dir == Direction.Out && DataMap == null)
     {
         DataMap = pRegionContext.InfoManager.EncodeProperties(Uuid, SyncableProperties);
         if (DataMap == null)
             return false;
         // m_log.DebugFormat("{0} SyncMsgUpdatedProperties.ConvertOut, syncProp={1}, DataMap={2}", LogHeader, SyncableProperties, DataMap);
     }
     }
     return base.ConvertOut(pRegionContext);
 }
开发者ID:QuillLittlefeather,项目名称:DSG,代码行数:14,代码来源:SyncMsg.cs

示例3: SyncConnector

 /// <summary>
 /// The constructor that will be called when a SyncConnector is created passively: a remote SyncConnector has initiated the connection.
 /// </summary>
 /// <param name="connectorNum"></param>
 /// <param name="tcpclient"></param>
 public SyncConnector(int connectorNum, TcpClient tcpclient, RegionSyncModule syncModule)
 {
     m_tcpConnection = tcpclient;
     m_connectorNum = connectorNum;
     m_regionSyncModule = syncModule;
     lastStatTime = DateTime.Now;
     m_syncState = SyncConnectorState.Initialization;
     m_log = LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
 }
开发者ID:QuillLittlefeather,项目名称:DSG,代码行数:14,代码来源:SyncConnector.cs

示例4: SyncMsgDelinkObject

 public SyncMsgDelinkObject(RegionSyncModule pRegionContext, List<UUID> pDelinkPrimIDs, List<UUID> pBeforeDlinkGroupIDs, List<SceneObjectGroup> pAfterDelinkGroups)
     : base(MsgType.DelinkObject, pRegionContext)
 {
     DelinkPrimIDs = pDelinkPrimIDs;
     BeforeDelinkGroupIDs = pBeforeDlinkGroupIDs;
     AfterDelinkGroups = pAfterDelinkGroups;
 }
开发者ID:QuillLittlefeather,项目名称:DSG,代码行数:7,代码来源:SyncMsg.cs

示例5: SyncMsgChatFromWorld

 public SyncMsgChatFromWorld(RegionSyncModule pRegionContext, OSChatMessage pChatMessage)
     : base(MsgType.ChatFromWorld, pRegionContext)
 {
     ChatMessage = pChatMessage;
 }
开发者ID:QuillLittlefeather,项目名称:DSG,代码行数:5,代码来源:SyncMsg.cs

示例6: HandleIn

 public override bool HandleIn(RegionSyncModule pRegionContext)
 {
     if (base.HandleIn(pRegionContext))
     {
     m_log.DebugFormat("{0} SyncMsgChatBroadcast: {1} : {2}", LogHeader, ChatMessage.From, ChatMessage.Message);
     pRegionContext.RememberLocallyGeneratedEvent(MsgType.ChatBroadcast, ChatMessage);
     pRegionContext.Scene.EventManager.TriggerOnChatBroadcast(ChatMessage.SenderObject, ChatMessage);
     pRegionContext.ForgetLocallyGeneratedEvent();
     }
     return true;
 }
开发者ID:QuillLittlefeather,项目名称:DSG,代码行数:11,代码来源:SyncMsg.cs

示例7: ConvertIn

 public override bool ConvertIn(RegionSyncModule pRegionContext)
 {
     bool ret = false;
     if (base.ConvertIn(pRegionContext))
     {
     AgentID = DataMap["agentID"].AsUUID();
     ItemID = DataMap["itemID"].AsUUID();
     PrimID = DataMap["primID"].AsUUID();
     IsRunning = DataMap["running"].AsBoolean();
     AssetID = DataMap["assetID"].AsUUID();
     ret = true;
     }
     return ret;
 }
开发者ID:QuillLittlefeather,项目名称:DSG,代码行数:14,代码来源:SyncMsg.cs

示例8: SyncMsgActorID

 public SyncMsgActorID(RegionSyncModule pRegionContext, string pActorID)
     : base(MsgType.ActorID, pRegionContext)
 {
     ActorID = pActorID;
 }
开发者ID:QuillLittlefeather,项目名称:DSG,代码行数:5,代码来源:SyncMsg.cs

示例9: SyncMsgUpdateScript

 public SyncMsgUpdateScript(RegionSyncModule pRegionContext, UUID pAgentID, UUID pItemID, UUID pPrimID, bool pIsRunning, UUID pAssetID)
     : base(MsgType.UpdateScript, pRegionContext)
 {
     AgentID = pAgentID;
     ItemID = pItemID;
     PrimID = pPrimID;
     IsRunning = pIsRunning;
     AssetID = pAssetID;
 }
开发者ID:QuillLittlefeather,项目名称:DSG,代码行数:9,代码来源:SyncMsg.cs

示例10: LogReception

 public override void LogReception(RegionSyncModule pRegionContext, SyncConnector pConnectorContext)
 {
     // This override is here so the reception will not be default logged and the actual logging can occur
     //     after the properties have been processed.
 }
开发者ID:QuillLittlefeather,项目名称:DSG,代码行数:5,代码来源:SyncMsg.cs

示例11: SyncMsgChatBroadcast

 public SyncMsgChatBroadcast(RegionSyncModule pRegionContext, OSChatMessage pChatMessage)
     : base(MsgType.ChatBroadcast, pRegionContext)
 {
     ChatMessage = pChatMessage;
 }
开发者ID:QuillLittlefeather,项目名称:DSG,代码行数:5,代码来源:SyncMsg.cs

示例12: SyncMsgAttach

 public SyncMsgAttach(RegionSyncModule pRegionContext, UUID pPrimID, UUID pItemID, UUID pAvatarID)
     : base(MsgType.Attach, pRegionContext)
 {
     PrimID = pPrimID;
     ItemID = pItemID;
     AvatarID = pAvatarID;
 }
开发者ID:QuillLittlefeather,项目名称:DSG,代码行数:7,代码来源:SyncMsg.cs


注:本文中的RegionSyncModule类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。