Пример #1
0
 public static ServerMessage Compose(AvatarEffect Effect)
 {
     ServerMessage Message = new ServerMessage(OpcodesOut.USER_EFFECT_ACTIVATED);
     Message.AppendInt32(Effect.SpriteId);
     Message.AppendInt32((int)Effect.Duration);
     return Message;
 }
Пример #2
0
 public void Add(AvatarEffect Effect)
 {
     lock (mSyncRoot)
     {
         mInner.Add(Effect.Id, Effect);
     }
 }
Пример #3
0
 public static ServerMessage Compose(AvatarEffect Effect)
 {
     ServerMessage Message = new ServerMessage(OpcodesOut.USER_EFFECT_EXPIRED);
     Message.AppendInt32(Effect.SpriteId);
     return Message;
 }