コード例 #1
0
 public static void SendCloseCharacterTradeShopToOwnerResponse(IRealmClient client,
                                                               Asda2PrivateShopClosedToOwnerResult status)
 {
     using (RealmPacketOut shopToOwnerResponse =
                Asda2PrivateShopHandler.CreateCloseCharacterTradeShopToOwnerResponse(status))
         client.Send(shopToOwnerResponse, false);
 }
コード例 #2
0
        public static RealmPacketOut CreateCloseCharacterTradeShopToOwnerResponse(
            Asda2PrivateShopClosedToOwnerResult status)
        {
            RealmPacketOut realmPacketOut =
                new RealmPacketOut(RealmServerOpCode.CloseCharacterTradeShopResponseToOwner);

            realmPacketOut.WriteByte((byte)status);
            realmPacketOut.WriteSkip(Asda2PrivateShopHandler.stub1);
            return(realmPacketOut);
        }