public static ServerMessage Compose(AvatarEffect Effect)
 {
     ServerMessage Message = new ServerMessage(OpcodesOut.USER_EFFECT_ADDED);
     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);
     }
 }