本文整理汇总了C#中WiredHandler类的典型用法代码示例。如果您正苦于以下问题:C# WiredHandler类的具体用法?C# WiredHandler怎么用?C# WiredHandler使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
WiredHandler类属于命名空间,在下文中一共展示了WiredHandler类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Collision
public Collision(RoomItem item, WiredHandler handler, Room room)
{
Item = item;
Room = room;
OtherString = string.Empty;
OtherBool = false;
_handler = handler;
}
示例2: GameEnds
public GameEnds(RoomItem item, WiredHandler handler, GameManager gameManager)
{
this.item = item;
this.handler = handler;
this.gameEndsDeletgate = new RoomEventDelegate(gameManager_OnGameEnd);
gameManager.OnGameEnd += gameEndsDeletgate;
}
示例3: TriggerUserIsOnFurni
public TriggerUserIsOnFurni(RoomItem item, List<RoomItem> items, WiredHandler handler)
{
this.item = item;
this.items = items;
this.isDisposed = false;
this.handler = handler;
AttatchListenersToItems();
}
示例4: LessThanTimer
public LessThanTimer(int timeout, Room room, RoomItem item, WiredHandler handler)
{
this.timeout = timeout;
this.room = room;
this.isDisposed = false;
this.item = item;
this.handler = handler;
}
示例5: FurniHasFurni
public FurniHasFurni(RoomItem item, List<RoomItem> items, WiredHandler handler, bool allItems)
{
this.item = item;
this.items = items;
this.isDisposed = false;
this.handler = handler;
this.allItems = allItems;
AttatchListenersToItems();
}
示例6: Repeater
public Repeater(WiredHandler handler, RoomItem item, int cyclesRequired)
{
this.handler = handler;
this.cyclesRequired = cyclesRequired;
this.item = item;
handler.RequestCycle(this);
this.disposed = false;
}
示例7: TimerReset
public TimerReset(Room room, WiredHandler handler, List<RoomItem> items, int delay, uint itemID)
{
this.room = room;
this.handler = handler;
this.items = items;
this.delay = delay;
this.cycles = 0;
this.disposed = false;
}
示例8: UserSays
public UserSays(RoomItem item, WiredHandler handler, bool isOwnerOnly, string triggerMessage, Room room)
{
this.item = item;
this.handler = handler;
this.isOwnerOnly = isOwnerOnly;
this.triggerMessage = triggerMessage;
this.delegateFunction = new RoomUserSaysDelegate(roomUserManager_OnUserSays);
room.OnUserSays += delegateFunction;
}
示例9: PositionReset
public PositionReset(List<RoomItem> items, int delay, RoomItemHandling roomItemHandler, WiredHandler handler, uint itemID)
{
this.items = items;
this.delay = delay;
this.roomItemHandler = roomItemHandler;
this.cycles = 0;
this.itemID = itemID;
this.handler = handler;
this.disposed = false;
}
示例10: ToggleItemState
public ToggleItemState(Gamemap gamemap, WiredHandler handler, List<RoomItem> items, int delay, uint itemID)
{
this.gamemap = gamemap;
this.handler = handler;
this.items = items;
this.delay = delay;
this.cycles = 0;
this.delayedTriggeringUsers = new Queue();
this.disposed = false;
}
示例11: EntersRoom
public EntersRoom(RoomItem item, WiredHandler handler, RoomUserManager roomUserManager, bool isOneUser, string userName)
{
this.item = item;
this.handler = handler;
this.isOneUser = isOneUser;
this.userName = userName;
this.delegateFunction = new RoomEventDelegate(roomUserManager_OnUserEnter);
roomUserManager.OnUserEnter += delegateFunction;
}
示例12: Dispose
public void Dispose()
{
isDisposed = true;
room = null;
item = null;
handler = null;
}
示例13: Dispose
public void Dispose()
{
disposed = true;
this.handler.GetRoom().GetGameManager().OnGameEnd -= delegateFunction;
this.item = null;
this.handler = null;
}
示例14: Dispose
public void Dispose()
{
handler.GetRoom().GetGameManager().OnScoreChanged -= scoreChangedDelegate;
handler.GetRoom().GetGameManager().OnGameEnd -= gameEndDeletgate;
this.item = null;
this.handler = null;
}
示例15: Dispose
public void Dispose()
{
gameManager.OnGameStart -= delegateFunction;
gameManager = null;
delegateFunction = null;
handler = null;
}