SwiftlyS2

EventVoteCast

Interface EventVoteCast

Namespace: SwiftlyS2.Shared.GameEventDefinitions

Assembly: SwiftlyS2.CS2.dll

Event "vote_cast"

public interface EventVoteCast : IGameEvent<EventVoteCast>

Implements

Properties

Team

type: short

short Team { get; set; }
Property Value

UserId

player who voted


type: player_controller

int UserId { get; set; }
Property Value

UserIdController

player who voted


type: player_controller

CCSPlayerController UserIdController { get; }
Property Value

UserIdPawn

player who voted


type: player_controller

CCSPlayerPawn UserIdPawn { get; }
Property Value

UserIdPlayer

IPlayer UserIdPlayer { get; }
Property Value

VoteOption

which option the player voted on


type: byte

byte VoteOption { get; set; }
Property Value

On this page