public static void SendCloseCharacterTradeShopToOwnerResponse(IRealmClient client, Asda2PrivateShopClosedToOwnerResult status) { using (RealmPacketOut shopToOwnerResponse = Asda2PrivateShopHandler.CreateCloseCharacterTradeShopToOwnerResponse(status)) client.Send(shopToOwnerResponse, false); }
public static RealmPacketOut CreateCloseCharacterTradeShopToOwnerResponse( Asda2PrivateShopClosedToOwnerResult status) { RealmPacketOut realmPacketOut = new RealmPacketOut(RealmServerOpCode.CloseCharacterTradeShopResponseToOwner); realmPacketOut.WriteByte((byte)status); realmPacketOut.WriteSkip(Asda2PrivateShopHandler.stub1); return(realmPacketOut); }